package com.nbsaas.boot.order.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
* -搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderAddressSearch   extends PageRequest implements Serializable {

/**
* 序列化参数
*/
private static final long serialVersionUID = 1L;

    /**
    * 区县Id
    **/
    @Search(name = "area.id",operator = Operator.eq)
    private Long area;
    /**
    * 收货人
    **/
    @Search(name = "consignee",operator = Operator.like)
    private String consignee;
    /**
    * 省份
    **/
    @Search(name = "province.id",operator = Operator.eq)
    private Long province;
    /**
    * 城市
    **/
    @Search(name = "city.id",operator = Operator.eq)
    private Long city;
    /**
    * 联系电话
    **/
    @Search(name = "phone",operator = Operator.like)
    private String phone;




}